package com.rc.evcharger.service.rc;

import com.rc.evcharger.mapper.rc.RcMemberGainGradeSettingMapper;
import com.rc.evcharger.model.rc.RcMemberGainGradeSetting;
import com.rc.evcharger.model.rc.RcMemberGainGradeSettingExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RcMemberGainGradeSettingServiceImpl implements RcMemberGainGradeSettingService {
    @Autowired
    private RcMemberGainGradeSettingMapper rcMemberGainGradeSettingMapper;

    @Override
    public RcMemberGainGradeSettingMapper getMapper() {
        return rcMemberGainGradeSettingMapper;
    }

    @Override
    public List<RcMemberGainGradeSetting> listByDefault() {
        RcMemberGainGradeSettingExample example = new RcMemberGainGradeSettingExample();
        return rcMemberGainGradeSettingMapper.selectByExample(example);

    }
}
